import React from "react";
import { Route, Routes } from 'react-router-dom';
import Home from '../pages/home/home';
import TDnebule from '../pages/3Dnebule/3Dnebule';
import Game from '../pages/game/game';
import Components from '../pages/componentListPage/componentLs';

function Mrouter(){
    return (
        <React.Fragment>
            <Routes>
                <Route exact path='/' element={<Home />} />
                <Route path='/home' element={<Home />}></Route>
                <Route path='/game' element={<Game />}></Route>
                <Route path='/components' element={<Components />}></Route>
                <Route path='/3Dnebule' element={<TDnebule />}></Route>
            </Routes>
        </React.Fragment>
    )
}
export default Mrouter;